package entity

import (
	"gluenet/internal/glue-srvp/domain/po"
	"gluenet/internal/pkg/infra"
)

type InfraTreeNode struct {
	infra.Entity     `json:"-" yaml:"-"`
	po.InfraTreeNode `json:",inline" yaml:",inline"`
	ChildData        []*InfraTreeNode `json:"child_data" yaml:"child_data"`
}

func (r InfraTreeNode) Identity() int64 {
	return 0
}

func (r InfraTreeNode) TableName() string {
	return ""
}
